/**
 * TO BE DETERMINED
 */
package org.eichar.client;

/**
 * Encapsulates a Question.
 * 
 * @author Jesse
 */
public abstract class Question {
    public abstract QuestionPanel getPanel();

    /**
     * Returns true if the question has been answered correctly.
     * 
     * @return true if the question has been answered correctly.
     */
    public abstract boolean isCorrect();

    /**
     * Sets focus on the area where the user enters the answer.
     * 
     * @param focused
     *            if true then question gets focus.
     */
    public abstract void setFocus(boolean focused);
}
